package com.xhh.nphm.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xhh.nphm.system.domain.GetAWaitReplyTelEty;
import com.xhh.nphm.system.mapper.GetAWaitReplyTelDao;
import com.xhh.nphm.system.service.GetAWaitReplyTelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * @description: //TODO
 * @author: sun
 * @date: 2023-12-15 14:49
 * @version 1.0
 */
@Service
public class GetAWaitReplyTelServiceImpl extends ServiceImpl<GetAWaitReplyTelDao,GetAWaitReplyTelEty> implements GetAWaitReplyTelService {
    @Autowired
    private GetAWaitReplyTelDao aWaitReplyTelDao;
    
    /**
     * 检查派单是否存在
     * @param sbId 派单编号
     * @return
     */
    @Override
    public boolean checkBySbId(Integer sbId) {
        return aWaitReplyTelDao.checkBySbId(sbId) == 0;
    }
}
